﻿
@{
    ViewBag.Title = "首页";
}
@section header{
<link href="~/plugins/Swiper/dist/css/swiper.min.css" rel="stylesheet" />
}


@Html.Action("Carousels","Carousel",new { code = "A1001"})
@Html.Action("RecommendCategories","GoodsCategory")
@Html.Action("FeaturedGoods", "Goods")
@Html.Action("ShowArticlesInHome", "Article")

@section footer{
    
<script src="~/plugins/Swiper/dist/js/swiper.min.js"></script>
    <script>
        var swiper = new Swiper('.swiper-container', {
            pagination: '.swiper-pagination',
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            paginationClickable: true,
            spaceBetween: 30,
            centeredSlides: true,
            autoplay:3000,
            autoplayDisableOnInteraction: false
        });
    </script>
    }